package com.ys.fmms.exception;

import com.ys.fmms.util.ResultCodeEnum;

public class UserPasswordException extends RuntimeException{
    private Integer code;
    private String message;

    public UserPasswordException(ResultCodeEnum resultCodeEnum){
        super(resultCodeEnum.getMessage());
        this.code = resultCodeEnum.getCode();
        this.message = resultCodeEnum.getMessage();
    }
}
